import Vue from 'vue';
import App from './App.vue';
import router from './router';
import ElementUI from 'element-ui';


import 'element-ui/lib/theme-chalk/index.css'; // 默认主题
// import './assets/css/theme-green/index.css'; // 浅绿色主题
import './assets/css/icon.css';
import store from "./vuex/store.js"
//引入websocket工具类
import websocket  from '@/utils/WebSocket.js'
import 'babel-polyfill';

Vue.config.productionTip = false;
//挂载websocket工具类
Vue.prototype.$websocket = websocket
Vue.use(ElementUI, {
    size: 'small'
});



new Vue({
    router,
	store, //注册vuex
    render: h => h(App)
}).$mount('#app');
